home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: WPS_PM
/
WPS_PM.zip
/
sccsgb01.zip
/
Install (Register) sccSong.Cmd
next >
Wrap
OS/2 REXX Batch file
|
1998-01-27
|
932b
|
24 lines
/* REXX - sccSong install script */
/* Installs sccSong's DLL & HELP File */
'@echo off'
Call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs';
Call SysLoadFuncs;
Parse source . . __rexx_name;
__rexx_dir = Filespec('D',__rexx_name)||Filespec('P',__rexx_name)
system_dll=FileSpec('Drive',Value('SYSTEM_INI',,'OS2ENVIRONMENT'))||'\OS2\DLL';
system_help=FileSpec('Drive',Value('SYSTEM_INI',,'OS2ENVIRONMENT'))||'\OS2\HELP';
Address CMD '@COPY '__rexx_dir'sccSong.DLL 'system_dll; /* Copy new DLL to system DLL dir */
Address CMD '@COPY '__rexx_dir'sccSong.HLP 'system_help;
rc=SysRegisterObjectClass('sccSong',system_dll||'\sccSong.DLL');
If rc <> 1 /* If sccSong class did not register OK */
Then Do;
Say "sccSong: could not register sccSong class, rc="rc".";
Exit;
End;
Exit;